//
//  CTVAutoUpdateController.h
//  Channltv
//
//  Created by Bruno Keymolen on 11/10/07.
//  Copyright 2007 Bruno Keymolen. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "CTVAutoUpdate.h"

@interface CTVAutoUpdateController : BRLayerController <CTVAutoUpdateListener>{
	NSString* m_title;
	NSString* m_info;

	BRHeaderControl* m_titlecontrol; 
	BRTextControl* m_infocontrol;
	BRTextControl* m_versionoldcontrol;
	BRTextControl* m_versionnewcontrol;
	BRWaitSpinnerControl* m_spinnercontrol;
	BRButtonControl* m_button;

}


-(id)initWithScene:(BRRenderScene*)scene;
-(void)dealloc;

-(void)updateNow;
-(void)_layout;

- (id)layer;


//
-(void)willBePopped;
-(void)willBePushed;


//CTVAutoUpdateListener
-(void)autoUpdateCheckDone:(NSString*)version;	
-(void)autoUpdateCheckFail;		
	
@end
